package com.hanko.designpattern.strategy;

/**
 * TODO
 *
 * @author hanko
 * @version 1.0
 * @date 2020/9/16 17:46
 */
public class StrategyContextTest {
    public static void main(String[] args) {
        Strategy strategy;
        strategy = new OperationAdd();
        StrategyContext strategyContext = new StrategyContext(strategy);
        strategy.operator(5,2);

    }
}
